from django.conf.urls import url
from django.contrib import admin
from django.urls import include

urlpatterns = [
    url(r'admin/', admin.site.urls),
    url(r'^users/', include(('users.urls', 'users'), namespace='users')),
    url(r'^', include(('web.urls', 'web'), namespace='web')),
    url(r'mdeditor/', include('mdeditor.urls')),
]

from django.conf.urls.static import static
from django.conf import settings

urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
